package edu.chinasoft.service;

import edu.chinasoft.domain.Dept;
import edu.chinasoft.domain.PageUnitForDept;

import java.util.List;
import java.util.Map;

public interface DeptService {
    Boolean insertDept(Dept dept);

    Dept selectDeptByDeptId(Dept dept);
    Boolean updateDeptById(Dept dept);

    Boolean deleteDeptById(Dept dept);

    PageUnitForDept getRecordNum();
    List<Dept> selectUnitDept(Map<String,Object> map);

    List<Dept> selectDept();
}
